/**
 * 
 */
package neptune.manager.storage;

import java.io.InputStream;

import neptune.manager.model.template.VmTemplate;

/**
 * Definisce un repository per le immagini delle vm adoperate come template
 * software di un nodo.
 * 
 * @author Roberto Bifulco [RobertoBifulco.it] [info@robertoBifulco.it]
 * 
 */
public interface VmTemplateRepository {

	public String[] getVmTemplateNames();

	public VmTemplate getVmTemplateByName(String vmTemplateId)
			throws VmTemplateRepositoryException;

	public void addVmTemplate(VmTemplate template, InputStream templateData)
			throws VmTemplateRepositoryException;
}
